package STUDENT.NGUYENDUCPHU.OOPs_EXCERCISES.Array.EX9;

public class Models {
	public int[] WorkHours(int[][] dArray){
		
		
		
		int total[]=new int[dArray.length];
		for (int i = 0; i < dArray.length; i++) {
			int tong=0;
			for (int j = 0; j < dArray[i].length; j++) {
	
				tong+=dArray[i][j];
				total[i]=tong;
				
			}
		}
		
		return total;
	}
}

